package users;

import book.BookShelf;
import operation.IOperation;

public abstract class User {
    protected String name;
    protected IOperation[] array;

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();

    public void doWork(int choice,BookShelf bookShelf){
        array[choice].working(bookShelf);
    }

}
